{extend name="public:base" /}

{block name="style"}
<link rel="stylesheet" type="text/css" href="__INDEX__/css/public.css">
<link rel="stylesheet" type="text/css" href="__INDEX__/css/style.css">
<link rel="stylesheet" type="text/css" href="__INDEX__/css/responsive.css">
<link rel="shortcut icon" href="__INDEX__/images/favorite.ico">
<style>
.num_type{display: inline-block;width: 20px;text-align: center;height: 20px;/*line-height: 20px;*/border:1px solid #ddd;cursor: pointer;vertical-align: middle;}
</style>
{/block}
{block name="html"}
{include file="index@public/main" /}
<div class="right_style" id="submitOrder-box">
	<h3 class="title_style"><em></em><span>提货订单</span></h3>
	<div id="yuncang_tihuo">
		<div class="pro">
			<p class="title">收件人：{$order['consignee']}</p>
			<p class="name">收货电话：{$order['phone']}</p>
			<p class="name">收货地址：{$order['address']}</p>
	</div>
	<h3 class="title_style"><em></em><span>商品信息</span></h3>
	<div class="checkOrder-info">
		<div class="checkOrder-th">
			<p class="proName-th">商品</p>
			<p class="singlePrice-th">单价</p>
			<p class="Num-th">数量</p>
			<p class="youhui-th">优惠</p>
			<p class="singleTotal-th">小计</p>
		</div>
		<ul>
			<li>
				<a href="pro_detail.html">
					<div class="pro">
						<img src="{$goods['images']}">
						<div class="l">
							<p class="proName">{$goods['name']}</p>
						</div>
					</div>
					<p class="price">￥{$goods['price']}</p>
					<p class="num">数量：{$order['num']}</p>
				</a>
			</li>
		</ul>
		<!-- <div class="kuaidi">
			<p class="kuaidi-font">运送方式： 包邮</p>
			<p class="price">￥0.00</p>
		</div>
		<div class="yunfeixian">
			<p class="yunfeixian-l">运费险: <input type="checkbox" class="yunfeixian-inp"><span class="yunfeixian-l-span1">运费险</span></p><span class="yunfeixian-l-span1">$0.3购买</span>
			<p class="price">￥03.00</p>
		</div> -->
	</div>
	<div class="agin_submit">
		<div class="agin_submit_info">
			<p>云仓余额：<span class="">￥{$depot['money']}</span></p>
			{if condition="$depot['type'] eq 2"}
			<p>代理折扣价：<span class="">{$depot['rebate']*100}%</span></p> 
			{/if}
			<p>实付款：<span class="price">￥{$order['amount']}</span></p>
			
		</div>
	</div>
	<p class="submit-p">
		<a href="javascript:;" class="submit">确认发货</a>
	</p>
</div>
	
{/block}

{block name="javascript"}
<script type="text/javascript" src="__INDEX__/js/jquery.flexslider-min.js"></script>
<script src="__INDEX__/js/jquery-1.9.1.min.js"></script>
<script src="__INDEX__/js/public.js"></script>
<script src="__INDEX__/layer/layer.js"></script>

<script>
	var w = $(document).width();
	if(w >= 500) {
		w = 600;
	} else if(w <= 480) {
		w = 375;
	}

	$('.submit').click(function(){
		layer.open({
			type: 2,
			title: '支付密码',
			maxmin: true,
			shadeClose: true, //点击遮罩关闭层
			area: [w * 0.9 + "px", '150px'],
			content: ['/index/Depot/pay/sn/{$order.order_sn}'],
		});
	})	
</script>
{/block}